setEnum

abstract fun setEnum(block: DesignBlock, property: String, value: String)

Set an enum property of the given design block to the given value. Setting scene/mode to Video fails with BLOCK.PAGE_SLICE_IN_VIDEO_SCENE when the scene holds a page slice.

Parameters

block

the block whose property should be set.

property

the name of the property to set.

value

the value to set.